package com.auth.manager.pojo.sys;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * @version 1.0.0
 * @Date: 2022/4/28 20:40
 * @Author ZhuYouBin
 * @Description 角色-权限关系实体
 */
@Data
@NoArgsConstructor
@TableName(value = "sys_role_menu_rela")
public class RoleMenuRelation implements Serializable {

    /**
     * 主键id
     */
    @TableId(type = IdType.AUTO)
    private Integer id;

    /**
     * 角色id
     */
    @TableField(value = "rid")
    private Integer rid;

    /**
     * 权限id
     */
    @TableField(value = "mid")
    private Integer mid;

}
